﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="taobaoitemsget.aspx.cs"
    Inherits="OMSWeb.API_Demo.taobaoitemsget" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>无标题页</title>
</head>
<body>
    <form id="form1" runat="server">
    <asp:TextBox ID="txtValue" runat="server"></asp:TextBox>
    <asp:Button ID="btnSearch" runat="server" Text="搜索商品信息" OnClick="btnSearch_Click" />
    <div>
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CellPadding="4"
            ForeColor="#333333" GridLines="None" Width="1141px">
            <RowStyle BackColor="#EFF3FB" />
            <Columns>
                <asp:BoundField DataField="num_iid" HeaderText="商品ID" />
                <asp:TemplateField HeaderText="商品名称">
                    <ItemTemplate>
                        <a>
                            <%#Eval("title")%></a>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:BoundField DataField="nick" HeaderText="掌柜" />
                <asp:BoundField DataField="type" HeaderText="商品类型" />
                <asp:BoundField DataField="cid" HeaderText="商品所属的叶子类目" />
                <asp:TemplateField HeaderText="商品主图片地址">
                    <ItemTemplate>
                        <img src="<%#Eval("pic_url") %>" style="width: 100px; height: 30px;" />
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:BoundField DataField="price" HeaderText="价格" />
                <asp:BoundField DataField="delist_time" DataFormatString="{0:d}" HeaderText="下架时间">
                    <ItemStyle Width="80px" />
                </asp:BoundField>
                <%--  <asp:BoundField DataField="post_fee" HeaderText="平邮费用" />--%>
            </Columns>
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <EditRowStyle BackColor="#2461BF" />
            <AlternatingRowStyle BackColor="White" />
        </asp:GridView>
    </div>
    </form>
</body>
</html>
